import request from '@/utils/request'

// 查询固定资产-合同管理列表
export function listDealFixedAssetsContract(query) {
  return request({
    url: '/fixedAssets/dealFixedAssetsContract/list',
    method: 'get',
    params: query
  })
}

// 查询固定资产-合同管理详细
export function getDealFixedAssetsContract(id) {
  return request({
    url: '/fixedAssets/dealFixedAssetsContract/' + id,
    method: 'get'
  })
}

// 保存固定资产-合同管理
export function saveDealFixedAssetsContract(data) {
  return request({
    url: '/fixedAssets/dealFixedAssetsContract/save',
    method: 'post',
    data: data
  })
}

// 删除固定资产-合同管理
export function delDealFixedAssetsContract(id) {
  return request({
    url: '/fixedAssets/dealFixedAssetsContract/' + id,
    method: 'delete'
  })
}

// 删除预算明细
export function delDealBudgetDetails(id) {
  return request({
    url: '/BudgetDetails/dealBudgetDetails/' + id,
    method: 'delete'
  })
}

// 导出固定资产-合同管理
export function exportDealFixedAssetsContract(query) {
  return request({
    url: '/fixedAssets/dealFixedAssetsContract/export',
    method: 'get',
    params: query
  })
}
